#pragma once

class Market;

class IMarketHandler
{
public:
	virtual ~IMarketHandler() = 0 {}
	void OnMarket(Market const& market)
	{
		DoOnMarket(market);
	}
private:
	virtual void DoOnMarket(Market const& market) = 0;
};